package com.goparry.taskman.browse;


import com.goparry.taskman.R;
import com.goparry.taskman.repository.RObject;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;

public class DocumentActivity extends FragmentActivity{
	public void onCreate(Bundle icicle){ 
		super.onCreate(icicle);
		
		// Set the Content View to be the document.xml layout
		setContentView(R.layout.document);
		Bundle docBundle = getIntent().getExtras();
		DocumentFragment documentFragment = (DocumentFragment) getSupportFragmentManager()
														.findFragmentById(R.id.documentfragment);
		documentFragment.updateDocument(docBundle);

	}
}
